package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName OceanengineGetIndustry
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/7/20 16:56
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "获取行业列表的返回参数")
public class OceanengineGetIndustry {
    /**
     * message : OK
     * code : 0
     * data : {"audience_package_id":144}
     * request_id : ######
     */

    private String message;
    private int code;
    private DataBean data;
    private String request_id;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "获取行业列表的返回参数实体")
    public static class DataBean {
        /**
         * audience_package_id : 144
         */
        private List<OceanengineGetIndustryListBean> list;
        @NoArgsConstructor
        @Data
        @ApiModel(value = "获取行业列表的返回参数实体-集合")
        public static class OceanengineGetIndustryListBean {
            @ApiModelProperty(value = "行业ID")
            private Long industry_id;
            @ApiModelProperty(value = "行业名称")
            private String industry_name;
            @ApiModelProperty(value = "所在级别，1：一级行业、2：二级行业、3：三级行业")
            private Long level;
            @ApiModelProperty(value = "该行业的一级行业ID")
            private Long first_industry_id;
            @ApiModelProperty(value = "该行业的一级行业名称")
            private String first_industry_name;
            @ApiModelProperty(value = "该行业的二级行业ID")
            private Long second_industry_id;
            @ApiModelProperty(value = "该行业的二级行业名称")
            private String second_industry_name;
            @ApiModelProperty(value = "该行业的三级行业ID")
            private Long third_industry_id;
            @ApiModelProperty(value = "该行业的三级行业名称")
            private String third_industry_name;
            private List<OceanengineGetIndustryListBean> children;

        }
    }
}
